using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Content;

namespace Fated.Character {
    public class CharacterClassData {
        public enum Stats { Health, Magic, Body, Mind, Spirit, Social, Speed };
        public string name;
        public float[] stats;
        public List<Ability> moveset;

        public CharacterClassData() {
            stats = new float[] { 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f };
            moveset = new List<Ability>();
        }
        public CharacterClassData(string filename)
            : this() {
            name = filename;
        }

        #region Getters/Setters

        public float Health {
            get { return stats[(int)Stats.Health]; }
        }
        public float Magic {
            get { return stats[(int)Stats.Magic]; }
        }
        public float Body {
            get { return stats[(int)Stats.Body]; }
        }
        public float Mind {
            get { return stats[(int)Stats.Mind]; }
        }
        public float Spirit {
            get { return stats[(int)Stats.Spirit]; }
        }
        public float Social {
            get { return stats[(int)Stats.Social]; }
        }
        public float Speed {
            get { return stats[(int)Stats.Speed]; }
        }

        #endregion
    }
}
